package exception_;

import java.io.FileInputStream;
import java.io.IOException;

/**
 * @Author 小闽
 * @Date 2024/9/22 19:38
 * @PackageName: exception_
 * @ClassName: Exception02
 * @Description: 异常体系图
 * @Version 1.0
 */
public class Exception02 {
    public static void main(String[] args) {
        try {
            FileInputStream fis;
            fis = new FileInputStream("d\\aa.jpg");
            int len;
            while((len = fis.read()) != -1){
                System.out.println(len);
            }
            fis.close();
        } catch (IOException e) {
            e.printStackTrace();
        }
    }
}
